<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@include file="/commons/header.jsp" %>

<div style="margin-left:210px;margin-top:65px;padding:10px 5px 0 5px;">

    <div style="line-height:26px;height:26px;margin-bottom:10px;">
        <h1 style="float:left;font-size:26px;">控制面板</h1>

        <span class="layui-breadcrumb" style="float:right;font-size:12px;">
                <a href="#">首页</a>
                <a><cite>历史版本</cite></a>
            </span>
    </div>


    <!--内容-----------------------------开始-------------------------------------------------->
    <div style="clear:both;margin-top:20px;">

    </div>
    <h2>历史版本</h2>
    <table class="layui-table" lay-skin="row">
        <colgroup>
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>序号</th>
            <th>应用名称</th>
            <th>版本号</th>
            <th>发布时间</th>
            <th>下载地址</th>
            <th>图标</th>
            <th>更新内容</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${app}" var="a" varStatus="vs">

            <tr>
                <td>${vs.count}</td>
                <td>${a.name}</td>
                <td>${a.versionNum}</td>
                <td>${a.subTime}</td>
                <td><a href="${a.address}">下载</a></td>
                <td><img src="${a.iconAddress}" height="50" width="50" alt=""></td>
                <td><p>${a.updateContent}</p></td>
            </tr>
        </c:forEach>

        </tbody>
    </table>
    <div id="demo1" style="margin-top:10px;"></div>
    <script src="${pageContext.request.contextPath}/lib/layui.all.js"/>

<%@include file="/commons/footer.jsp" %>